home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / unixlib.lha / unix / src / zoneinfo / datfiles / SMakefile < prev    next >
Makefile  |  1996-12-01  |  2KB  |  73 lines

  1. #    @(#)Makefile    5.9 (Berkeley) 2/28/91
  2.  
  3. # Change the line below for your time zone (after finding the zone you want in
  4. # the time zone files, or adding it to a time zone file).
  5. # Alternately, if you discover you've got the wrong time zone, you can just
  6. #    zic -l rightzone
  7.  
  8. LOCALTIME=    MET
  9.  
  10. # If you want something other than Eastern United States time as a template
  11. # for handling POSIX-style time zone environment variables,
  12. # change the line below (after finding the zone you want in the
  13. # time zone files, or adding it to a time zone file).
  14. # Alternately, if you discover you've got the wrong time zone, you can just
  15. #    zic -p rightzone
  16.  
  17. POSIXRULES=    MET
  18.  
  19. # Use an absolute path name for TZDIR unless you're just testing the software.
  20.  
  21. TZDIR=    s:zoneinfo
  22.  
  23. # If you always want time values interpreted as "seconds since the epoch
  24. # (not counting leap seconds)", use
  25. #     REDO=        posix_only
  26. # below.  If you always want right time values interpreted as "seconds since
  27. # the epoch" (counting leap seconds)", use
  28. #    REDO=        right_only
  29. # below.  If you want both sets of data available, with leap seconds not
  30. # counted normally, use
  31. #    REDO=        posix_right
  32. # below.  If you want both sets of data available, with leap seconds counted
  33. # normally, use
  34. #    REDO=        right_posix
  35. # below.
  36.  
  37. # This should be left as is for the Amiga
  38.  
  39. REDO=        posix_only
  40.  
  41. YDATA=    africa antarctica asia australasia europe northamerica \
  42.     southamerica pacificnew etcetera factory
  43. NDATA=    systemv
  44. #SDATA=    solar87 solar88 solar89
  45. TDATA=    ${YDATA} ${NDATA} ${SDATA}
  46. DATA=    ${YDATA} ${NDATA} ${SDATA} leapseconds
  47. USNO=    usno1988 usno1989
  48.  
  49. CC=sc
  50.  
  51. all: $(REDO)
  52.  
  53. posix_only: ${TDATA}
  54.         -makedir >nil: ${TZDIR}
  55.         /zic -d ${TZDIR} -L nil: ${TDATA}
  56.  
  57. right_only: leapseconds ${TDATA}
  58.         -makedir >nil: ${TZDIR}
  59.         /zic -d ${TZDIR} -L leapseconds ${TDATA}
  60.  
  61. other_two: leapseconds ${TDATA}
  62.         -makedir >nil: ${TZDIR}
  63.         /zic -d ${TZDIR} -L leapseconds ${TDATA}
  64.         /zic -d ${TZDIR} -L nil: ${TDATA}
  65.  
  66. posix_right: posix_only other_two
  67.  
  68. right_posix: right_only other_two
  69.  
  70. install: ${TDATA} ${REDO}
  71.     /zic -d ${TZDIR} -p ${POSIXRULES}
  72.     /zic -d ${TZDIR} -l ${LOCALTIME}
  73.